package com.question.java.util;

import java.math.BigDecimal;

/**
 * @Description:
 * @Author: Jun Yang
 * @Time: 2018/10/21 下午8:50
 * @Version: 1.0
 */
public class MainTest {
    public static void main(String[] args) {
        BigDecimal total = UtilityClass.computeMoney(239.00,
                58.90,
                79.80,
                400.40,
                859.60,
                105.00,
                134.80,
                159.90,
                54.50,
                105.90);


        System.out.println("total:" + UtilityClass.formatMoney(total.doubleValue()));

    }
}
